<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<HTML>

	<HEAD>
		<TITLE>Scub Foundation : Tutoriel Spring MVC</TITLE>
	</HEAD>

	<BODY>
		<!-- Titre -->
		<div id="title" align="center">
		<h1> Bienvenue dans le tutoriel de Scub Foundation sur Spring MVC </h1>
		</div>
		<hr/>
		<hr/>
		
		<h3>Renseignez les champs suivants : </h3>
		<div id="title" align="center">
		<form:form name="formulaire" commandName="messagePersonneModel" method="POST">
 
		    <table>
			    <tr>
			    	<td><label>Prenom : </label></td>
			        <td><form:input path="prenom" /></td>
			        <td><div style="color:red;"><form:errors path="prenom" /></div></td>
			    </tr>
			    <tr>
			    	<td><label>Nom : </label></td>
			        <td><form:input path="nom" /></td>
			    	<td><div style="color:red;"><form:errors path="nom" /></div></td>
			    </tr>
			    <tr>
			    	<td><label>Message : <label/></td>
			        <td><div style="color:red;"><form:input path="message" /></div></td>
			    </tr>
			   
			    <tr>
			        <td colspan="2">
			            <input type="submit" value="Valider"/>
			        </td>
			    </tr>
			</table> 
     
		</form:form>
		</div>

	</BODY>

</HTML>